
<template>


  <div>
    <el-row>
      <el-col :span="24" style="height: 80vh">
        <CesiumMap ref="cesiumMap" :tileSet="tileSet"></CesiumMap>
      </el-col>
    </el-row>
  </div>
</template>
    
  
<script>
import CesiumMap from "../cesiumMap/index.vue";
let viewer = null;

export default {
  components: { CesiumMap },
  data() {
    return {
      tileSet: {
        url: "http://124.223.23.99:9000/XSYY_3dTiles/tileset.json",
        maximumScreenSpaceError: 1
      }
    }
  },
  methods: {


  },
  setup() {
    return {
    };
  },

  mounted() {
    viewer = this.$refs.cesiumMap.viewer;
    viewer.imageryLayers.removeAll();
    this.$refs.cesiumMap.loadTianditu();

  },
};
</script>
  
<style scoped></style>
  